using System;

namespace Widgetsphere.Generator.Common.GeneratorFramework
{
	[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
	public class GeneratorItemAttribute : System.Attribute
	{
		private string _name;
		private Type _parentType;

		public GeneratorItemAttribute(string name, Type parentType)
		{
			_name = name;
			_parentType = parentType;
		}

		public Type ParentType
		{
			get
			{
				return _parentType;
			}
		}
		
		public string Name
		{
			get
			{
				return _name;
			}
		}

	}
}
